This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Documentation error.... ~Michelle Chuabergings 11.Dec.03 10:40 AM a Web browser Domino Designer 6.0.2 CF2Windows XP
Thank's for your response. That's exactly the formula I use. But with @SetTargetFrame the filter is lost and without I didn't get the view in the frameset I want.
It's a calendar view. The formula is used in an action on a form that gets the filter from the open document.
I also tried another approach using evaluate with @SetViewInfo in the queryopen or postopen event of an embedded view on the same form. I can access the document and get the filter but my evaluate does nothing.
Here's the code:
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Dim eval As Variant
Dim pnr As String
Dim macro As String
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document
If uidoc.IsNewDoc Then Exit Sub
pnr = doc.PersonalNr(0)
macro = |@SetViewInfo([SetViewFilter];pnr;"$PersonalNr";FALSE;1)|
eval = Evaluate(macro)